From 9f0f5f7ed03250b34782ccb8a52bdb5cbdf82a8e Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Fri, 13 Sep 2002 06:21:32 +0000 Subject: [PATCH] (whitespace-unload-hook): Call `remove-hook' with three arguments, not four. --- lisp/whitespace.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 27344312958..0742ae7fc62 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el @@ -5,7 +5,7 @@ ;; Author: Rajesh Vaidheeswarran ;; Keywords: convenience -;; $Id: whitespace.el,v 1.19 2001/12/13 17:34:57 rv Exp $ +;; $Id: whitespace.el,v 1.20 2002/09/11 21:30:25 monnier Exp $ ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify @@ -843,7 +843,7 @@ This is meant to be added buffer-locally to `write-file-functions'." (defun whitespace-unload-hook () (remove-hook 'find-file-hook 'whitespace-buffer) - (remove-hook 'write-file-functions 'whitespace-write-file-hook nil t) + (remove-hook 'write-file-functions 'whitespace-write-file-hook t) (remove-hook 'kill-buffer-hook 'whitespace-buffer)) (provide 'whitespace) -- 2.30.2